import Taro from '@tarojs/taro'
import { View, Image } from '@tarojs/components'
import './index.scss'

export default function DetailPage() {
  const { router } = Taro.getCurrentInstance() || {}
  const image = router?.params?.image || ''

  return (
    <View className='detail'>
      <Image src={image} mode='widthFix' />
    </View>
  )
}